{"version":3,"sources":["utils.js"],"names":["BX","namespace","Kanban","Utils","getKeyDownName","code","isValidId","id","type","isNumber","isNotEmptyString","getClass","fullClassName","classFn","currentNamespace","window","namespaces","split","i","length","isEmptyObject","obj","name","isValidColor","hex","match","getDefaultColors","isDarkColor","this","replace","toLowerCase","defaultColors","util","in_array","bigint","parseInt","red","green","blue","brightness","showErrorDialog","error","fatal","dialog","PopupWindowManager","create","titleBar","message","content","width","autoHide","overlay","closeByEsc","closeIcon","draggable","restrict","contentColor","setContent","setButtons","PopupWindowButton","text","className","events","click","reload","popupWindow","close","show"],"mappings":"CAAC,WAED,aAEAA,GAAGC,UAAU,aAEbD,GAAGE,OAAOC,OAMTC,eAAgB,SAASC,GAExB,OAAOA,GAEN,KAAK,GACJ,MAAO,SACR,QACC,OAAO,QAIVC,UAAW,SAASC,GAEnB,OAAOP,GAAGQ,KAAKC,SAASF,IAAOP,GAAGQ,KAAKE,iBAAiBH,IAGzDI,SAAU,SAASC,GAElB,IAAKZ,GAAGQ,KAAKE,iBAAiBE,GAC9B,CACC,OAAO,KAGR,IAAIC,EAAU,KACd,IAAIC,EAAmBC,OACvB,IAAIC,EAAaJ,EAAcK,MAAM,KACrC,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAWG,OAAQD,IACvC,CACC,IAAIjB,EAAYe,EAAWE,GAC3B,IAAKJ,EAAiBb,GACtB,CACC,OAAO,KAGRa,EAAmBA,EAAiBb,GACpCY,EAAUC,EAGX,OAAOD,GAGRO,cAAe,SAASC,GAGvB,IAAK,IAAIC,KAAQD,EACjB,CACC,OAAO,MAGR,OAAO,MAGRE,aAAc,SAASC,GAEtB,OAAOxB,GAAGQ,KAAKE,iBAAiBc,IAAQA,EAAIC,MAAM,sCAOnDC,iBAAkB,WAEjB,OACC,SACA,SACA,SACA,SACA,SACA,SACA,WAIFC,YAAa,SAASH,GAErB,IAAKI,KAAKL,aAAaC,GACvB,CACC,OAAO,MAGR,GAAIA,EAAIL,SAAW,EACnB,CAC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